package com.wn.inventory.mapper;

import com.wn.entity.PurchaseList;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/21 10:26
 * @ description：采购入库清单中间表
 * @ modified By：
 * @ version:
 */
@Repository
public interface PurchaseListMapper {
   /**
    * @param lists
    * @return void
    * @ author nst
    * @ date 2022/10/21 10:47
    * @ Description 增加采购入库清单中间表信息
    */
   void insert(List<PurchaseList> lists);


   /**
    * @param id
    * @return com.wn.entity.PurchaseList
    * @ author nst
    * @ date 2022/10/21 10:46
    * @ Description 根据采购入库申请表id查清单
    */
   PurchaseList getByPIWAId(int id);
}
